<html>
<body>
Reports classes that implement <code>Serializable</code> and do not declare a <code>serialVersionUID</code> field.
<p>
  Without a <code>serialVersionUID</code> field, any change to the class will make previously serialized versions unreadable.
</p>
<p><b>Example:</b></p>
<pre><code lang="java">
  class Main implements Serializable {
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code lang="java">
  class Main implements Serializable {
    private static final long serialVersionUID = -1446398935944895849L;
  }
</code></pre>
When using a language level of JDK 14 or higher, the quickfix will also add the <code>java.io.Serial</code> annotation.
<!-- tooltip end -->
<p>Use the following options to configure the inspection:</p>
<ul>
  <li>
    List classes whose inheritors should not be reported by this inspection.
    This is meant for classes that inherit
    <code>Serializable</code> from a superclass but are not intended for serialization.
  </li>
  <li>
    Whether to ignore <code>Serializable</code> anonymous classes.
  </li>
</ul>
</body>
</html>